<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<form class="clearfix" action="${pageContext.request.contextPath }/DownloadServlet" method="POST">
	<div class="row">
		<div class="col-md-6">
			<div class="form-group">
			    <label for="years">请输入年份</label>
			    <input type="text" name="year" class="form-control" id="years">
			  </div>
		</div>
		<div class="col-md-6">
			<div class="form-group">
			    <label>请选择月份</label>
			    <select name="month" class="form-control">
			    	<%
			    		for (int i = 1; i <= 12; i++)
			    			out.print("<option value=\"" + i + "\">" + i + "</option>");
			    	%>
				</select>
			  </div>
		</div>
	</div>
	<div class="pull-right">
		<input class="btn btn-primary" type="submit" value="下载">
		<input class="btn btn-default" type="reset" value="重置">
	</div>
</form>